#define _CRT_SECURE_NO_WARNINGS   1
#include<stdio.h>

void fun(int* s)
{
	int count = 9;
	while (count)
	{
		*s = *s + 1;
		count--;
		s++;
	}

}


int main()
{

	int arr[10] = { 0,1,2,3,4,5 };
	fun(arr);

	return 0;
}